package com.hellobike.haxing.common;


public enum ResponseCodeEnum {
    SUCCESS(200, "执行成功"),
    SYSTEM_ERROR(500, "系统异常"),
    VERFICATION_ERROR(600, "验证码升级"),
    NO_AUTH(510, "没有权限"),
    NO_PARAM(400, "参数异常"),
    FAIL(530, "操作失败");
    private Integer code;
    private String message;

    ResponseCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer code() {
        return this.code;
    }

    public String message() {
        return this.message;
    }
}
